using System.Collections.Generic;

namespace Index.Interfaces
{
    public interface ITokenMap
    {
        bool FindTokenId(ref IToken token);
        void AddTokens(ref List<IToken> tokens, bool optimizeAsNeeded = true);
        void Optimize();
    }
}